<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>{{if .info.name}}{{.info.name}}{{else}}{{.info.title}}{{end}}</title>
    <meta charset="utf-8" name="keywords" content="{{.system.keywords}}" />
    <meta charset="utf-8" name="description" content="{{.system.description}}" />
    <link rel ="shortcut Icon" href="{{.system.pathname}}">
    <link rel="stylesheet" href="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/pc/css/index.min.css?v=123" />
    <link rel="stylesheet" type="text/css" href="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/pc/font/iconfont.css">
    <link rel="stylesheet" type="text/css" href="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/pc/css/pc/pcbase.css">
    <style type="text/css">
    .article{min-height: calc(100vh - 562px)}
    </style>
  </head>
  
  <body class="article">
    <!--from fragment-->
   {{template "pc/public/head.html" .}}
    {{template "pc/public/search.html" .}}
    <div class="article">
      <div>
        {{if .info.name}}
        <h2>{{.info.name}}</h2>
        {{else}}
        <h2>{{.info.title}}</h2>
        {{end}}
        <p>
          <!-- <span>作者：某某某</span> -->
          <span>类别：{{.info.cname}}</span>
          <span>时间：{{.info.addtime }}</span>
          <span>阅读数：{{.info.click}}</span>
        </p>
        <div class="articleCont">
          {{if .info.content}}
          {{str2html .info.content}}
          {{end}}
        </div>
      </div>
    </div>
    {{template "pc/public/foot.html" .}}
  </body>
  <script type="text/javascript" src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/pc/frame/sui/js/SUI.js"></script>
  <script type="text/javascript"></script>
</html>